<div class="articletypes view">
<h2><?php echo __('Articletype'); ?></h2>
	<dl>
		<dt><?php echo __('Id'); ?></dt>
		<dd>
			<?php echo h($articletype['Articletype']['id']); ?>
			&nbsp;
		</dd>
		<dt><?php echo __('Name'); ?></dt>
		<dd>
			<?php echo h($articletype['Articletype']['name']); ?>
			&nbsp;
		</dd>
	</dl>
</div>
<div class="actions">
	<h3><?php echo __('Actions'); ?></h3>
	<ul>
		<li><?php echo $this->Html->link(__('Edit Articletype'), array('action' => 'edit', $articletype['Articletype']['id'])); ?> </li>
		<li><?php echo $this->Form->postLink(__('Delete Articletype'), array('action' => 'delete', $articletype['Articletype']['id']), null, __('Are you sure you want to delete # %s?', $articletype['Articletype']['id'])); ?> </li>
		<li><?php echo $this->Html->link(__('List Articletypes'), array('action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Articletype'), array('action' => 'add')); ?> </li>
		<li><?php echo $this->Html->link(__('List Articles'), array('controller' => 'articles', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Article'), array('controller' => 'articles', 'action' => 'add')); ?> </li>
	</ul>
</div>
<div class="related">
	<h3><?php echo __('Related Articles'); ?></h3>
	<?php if (!empty($articletype['Article'])): ?>
	<table cellpadding = "0" cellspacing = "0">
	<tr>
		<th><?php echo __('Id'); ?></th>
		<th><?php echo __('Articletype Id'); ?></th>
		<th><?php echo __('Journal Name'); ?></th>
		<th><?php echo __('Journal Number'); ?></th>
		<th><?php echo __('Journal Impactfactor'); ?></th>
		<th><?php echo __('JournalURL'); ?></th>
		<th><?php echo __('With Students'); ?></th>
		<th><?php echo __('With Foreign Author'); ?></th>
		<th><?php echo __('Article Name'); ?></th>
		<th><?php echo __('Article Year'); ?></th>
		<th><?php echo __('Volume'); ?></th>
		<th><?php echo __('Pages'); ?></th>
		<th><?php echo __('Recstatus Id'); ?></th>
		<th><?php echo __('Created'); ?></th>
		<th><?php echo __('Modified'); ?></th>
		<th><?php echo __('Moderator Comment'); ?></th>
		<th class="actions"><?php echo __('Actions'); ?></th>
	</tr>
	<?php foreach ($articletype['Article'] as $article): ?>
		<tr>
			<td><?php echo $article['id']; ?></td>
			<td><?php echo $article['articletype_id']; ?></td>
			<td><?php echo $article['journal_name']; ?></td>
			<td><?php echo $article['journal_number']; ?></td>
			<td><?php echo $article['journal_impactfactor']; ?></td>
			<td><?php echo $article['journalURL']; ?></td>
			<td><?php echo $article['with_students']; ?></td>
			<td><?php echo $article['with_foreign_author']; ?></td>
			<td><?php echo $article['article_name']; ?></td>
			<td><?php echo $article['article_year']; ?></td>
			<td><?php echo $article['volume']; ?></td>
			<td><?php echo $article['pages']; ?></td>
			<td><?php echo $article['recstatus_id']; ?></td>
			<td><?php echo $article['created']; ?></td>
			<td><?php echo $article['modified']; ?></td>
			<td><?php echo $article['moderator_comment']; ?></td>
			<td class="actions">
				<?php echo $this->Html->link(__('View'), array('controller' => 'articles', 'action' => 'view', $article['id'])); ?>
				<?php echo $this->Html->link(__('Edit'), array('controller' => 'articles', 'action' => 'edit', $article['id'])); ?>
				<?php echo $this->Form->postLink(__('Delete'), array('controller' => 'articles', 'action' => 'delete', $article['id']), null, __('Are you sure you want to delete # %s?', $article['id'])); ?>
			</td>
		</tr>
	<?php endforeach; ?>
	</table>
<?php endif; ?>

	<div class="actions">
		<ul>
			<li><?php echo $this->Html->link(__('New Article'), array('controller' => 'articles', 'action' => 'add')); ?> </li>
		</ul>
	</div>
</div>
